<include file="Public/min-header" /> <!--引入 js css img 文件-->
</head>
<body>
    <!--导航  start //-->
    <include file="Public/header" /> <!--引入头部导航  //-->

    <div id="main">
        <!--右边菜单-->
        <include file="Bank/menu" />
        <!--右边菜单End-->
        <!--右边菜单End-->
        <div class="mainfr-box">
            <div class="place">
                <ul class="placeul">
                    <li><a href="#">首页 ></a></li>
                    <li><a href="#">财务管理 ></a></li>
                    <li><a href="#">电子积分会员互转</a></li>
                </ul>
                <ul class="placeula">
                    <li><a href="javascript:location.reload()"><span class="placea"></span>刷新</a></li>
                    <li><a href="javascript:history.go(-1)"><span class="placea"></span>返回上一页</a></li>
                </ul>
            </div>

            <div class="clr"></div>
            <div class="main">
                <form method="post" name="distribut_form" id="distribut_form">
                    <table width="100%" border="0" class="Register-table">
                        <!--<tr class="odd">
                        <th scope="row" width="130">呢称：</th>
                        <td>{$user.nickname}</td>
                        <th scope="row" width="130">手机：</th>
                        <td>{$user.mobile}</td>
                    </tr> -->
                    <tr class="odd">
                        <!-- <th scope="row" width="130">邮箱：</th>
                        <td>{$user.email}</td> -->
                        <th scope="row" width="130">账号：</th>
                        <td>{$user.account}</td>
                    </tr>
                        <tr class="odd">
                            <th scope="row" width="130">对方会员编号：</th>
                            <td colspan="3"><input name="zz_account" type="text"class="dfinput"></td>
                        </tr>
                        <tr class="odd">
                            <th scope="row" width="130">转账金额：</th>
                            <td colspan="3"><input id="money" name="money" type="text"  onpaste="this.value=this.value.replace(/[^\d.]/g,'')" onKeyUp="this.value=this.value.replace(/[^\d.]/g,'')" class="dfinput">&nbsp;<span id="ye">&nbsp;当前电子积分余额&nbsp;<b>{$user.zuce_money}</b></span> </td>
                           
                        </tr>
                        <tr class="odd">
                            <th scope="row"><!--密保问题-->交易密码：</th>
                            <td colspan="3"><input id="secpwd" name="secpwd" type="password"   class="dfinput"></td>
                        </tr>
                    </table>
                    <div class="button-box"> <input type="button" onClick="checkSubmit();" value="提交" class="button-style"id="btn_midefy"></div>
                </form>
            </div>
        </div>
        <div class="clr"></div>
        <!--footer start //-->
        {:W('Cate/footer')}  <!--引入底部 //-->
        <!--footer  end //-->
</body>
</html>

<<script>
    function checkSubmit()
    {
        var money = $('#money').val();
        if(money == ''){
            alert('请输入转账金额');return false;
        }
        

        var zz_account =  $('#zz_account').val();
        if(zz_account == ''){
            alert('请输入对方帐号');return false;
        }

        var secpwd = $('#secpwd').val();
        if(secpwd == ''){
            alert('请输入交易密码');
            return false;
        }
        $('#distribut_form').submit();
    }
</script>